package top.v5it.japi.ddd.example.product.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import top.v5it.japi.ddd.core.entity.Entity;

import java.math.BigDecimal;

/**
 * @author zhanpu
 * @date 2023/11/8
 */
@Setter
@Getter
@Accessors(chain = true)
public class Product extends Entity<Long> {
    private static final long serialVersionUID = 3710216712023461468L;
    private Long id;
    private String name;
    private String description;
    private BigDecimal price;
    private Integer stock;
}
